/**
 * 
 */
package com.cqan.controller.account;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpSession;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

import org.hibernate.transaction.JOnASTransactionManagerLookup;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.cqan.common.ViewModel;
import com.cqan.controller.BaseController;
import com.cqan.entity.account.Organization;
import com.cqan.service.account.OrganizationService;
import com.cqan.service.account.UserService;

/**
 * @author wuhui
 *
 * 下午01:43:41
 */
@Controller
@RequestMapping("/user")
public class UserController extends BaseController{

	private UserService userService;
	
	@RequestMapping("/login.htm")
	public ModelAndView login(HttpSession session){
		
		
		return new ModelAndView(ViewModel.TOLOGIN);
	}
	
	@RequestMapping("/list.htm")
	public ModelAndView list(){
		ModelAndView mv = new ModelAndView(ViewModel.USERLIST);
		
		return mv;
	}
	
	@Autowired
	public void setUserService(UserService userService) {
		this.userService = userService;
	}
	
	
	
}
